﻿using System;
using Medora.Model.Classifiers;

namespace Medora.Model.Basic
{
    public class Address: DeletedEntity
    {
            
        public Guid? CountryId { get; set; }
        public virtual Country Country { get; set; }

        public Guid? RegionId { get; set; }
        public virtual Region Region { get; set; }

        public Guid? PlaceId { get; set; }
        public Place Place { get; set; }

        public string Street { get; set; }

        public string House { get; set; }

        public string Appartment { get; set; }

        public string State { get; set; }
        public string Zip { get; set; }

     }

    public class AddressFilter: IFilter
    {
        public Guid? PlaceId { get; set; }
       /* public Guid? RegionId { get; set; }
        public Guid? CountryId { get; set; }*/
        public string Street { get; set; }
        public string House { get; set; }
        public string Appartment { get; set; }
        public string State { get; set; }
    }
}